package com.weipai.springboot.module.service;

import com.weipai.springboot.model.Brand;
import com.weipai.springboot.model.IntegralGoods;
import com.weipai.springboot.model.api.Response;

import java.util.List;
import java.util.Map;

/**
 * @Author: 曹朋飞
 * @Date: 2018/08/03 11:28
 * 
 * 积分商品
 * 
 */
public interface IntegralGoodsService {

    //保存
    Response save(IntegralGoods integralGoods);

    //查询积分商品详情
    Response getIntegralGoodsById(String integralGoodsId);

    //删除
    Response deleteById(String integralGoodsId);

    //更改积分商品的状态
    Response changeStatus(String integralGoodsId);

    //批量删除
    Response batchDeleteById(String[] id);

    //分页查询
    Response selectAllByPage(Integer page, Integer size, String draw);

    Response update(IntegralGoods integralGoods);
}
